package xp.ass.imitate.express;

import org.springframework.lang.Nullable;

/**
 * @author chent3
 * @date 2024/8/23
 */
public interface XEvaluateContext {

    /**
     * obtain root object
     */
    Object getRootObject();


    /**
     * set a name mapped value
     */
    void setVariable(String name, @Nullable Object value);


    Object lookupVariable(String name);
}


